﻿#include "vedioplayer.h"

void* GetNewComponent()
{
    return new VedioPlayer();
}

const char* GetComponentName()
{
    return QStringLiteral("视频播放器").toUtf8().data();
}

const char* GetComponentDescription()
{
    QString strDes = "";
    strDes += QStringLiteral("VLC播放器");
    strDes += "\n";
    return strDes.toUtf8().data();
}

VedioPlayer::VedioPlayer()
{
    m_vedioWidget = new ClassVideoWidget(NULL);
}

void VedioPlayer::Excute(const char* content)
{
    m_vedioWidget->show();
}
